package com.example.leavls.service;

import com.example.leavls.pojo.Leaverecords;

import java.util.List;

public interface LeaveService {

    List<Leaverecords>getAllbypage( Integer page,Integer size);
    int addLeave(Leaverecords leaverecords);
    int delLeave(Integer id);
    int updLeave(Leaverecords leaverecords);
    Leaverecords getOne(Integer id);
    Long getTotal();
}
